#include <iostream>
using namespace std;


class Date
{
public:

    Date(int year=1970, int month=1, int day=1)
    {
        _year=year;
        _month=month;
        _day=day;
    }

    void Init(int year,int month, int day)
    {
        _year=year;
        _month=month;
        _day=day;
    }

    void print()
    {
        cout << _year << "年" << _month << "月" << _day << "日" << endl;
    }

private:
    int _year;
    int _month;
    int _day;
};

int main()
{

    Date d1,d2;
    d1.Init(2024,4,7);
    d2.Init(2024,4,26);

    d1.print();
    d2.print();

    Date d3;
    d3.print();
    return 0;
}
